package com.jdrx.ocp.beans.dto.platform;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 创建平台-API授权信息DTO
 */
@ApiModel(value = "CreatePlatformApiDTO", description = "创建平台-API授权信息DTO")
public class CreatePlatformApiDTO {

    @NotBlank
    @Length(min = 1,max = 255)
    @ApiModelProperty(value = "平台前缀", required = true)
    String platformPrefix;

    @ApiModelProperty(value = "API-URI集合，多个以英文逗号(,)隔开", required = true)
    String apiUris;

    public String getPlatformPrefix() {
        return platformPrefix;
    }

    public void setPlatformPrefix(String platformPrefix) {
        this.platformPrefix = platformPrefix;
    }

    public String getApiUris() {
        return apiUris;
    }

    public void setApiUris(String apiUris) {
        this.apiUris = apiUris;
    }
}
